<?php
	include_once './config.php';
	
	$resource=mysql_connect($host.":".$port,$username,$password);
		if (mysql_select_db($db,$resource)){
			if($resource == false){
				exit ("数据库连接失败");
			}
		}
		
		mysql_query("set names utf8",$resource);
?>
<!DOCTYPE html>
<html>
<head>
<title><?php include_once './info/webinfo_title.php'; ?></title>
<link  rel="Shortcut  Icon"  href="logo.ico" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php include_once './info/webinfo_keywords.php'; ?>">
<meta name="description" content="<?php include_once './info/webinfo_description.php'; ?>">
<link rel="stylesheet" href="style/css/style.css" type="text/css" media="all" />
</head>
<body>
<div class="top_box">
	<header class="header">
		<div class="column" onClick="showmenu()">
			<a>功能栏目</a>
		</div>
		<div class="site_tl">
			<h1><?php include_once './info/webinfo_title1.php'; ?></h1></div>
		<div class="user">
			<a onClick="shoucang(document.title,window.location)">收藏</a></div>
	</header>
	<nav class="nav">
		<ul>
			<li>
				<a href="index.php">球球</a></li>
			<li>
				<a href="charge.php" class="current">代点</a></li>
			<li>
				<a href="font.php">字体</a></li>
			<li>
				<a href="about.php">开黑交友</a></li>
			<li>
				<a href="app.php">免费代理</a></li>
		</ul>
		<span class="zhankai Topimg" onClick="showtags()">
			<a>展开</a>
		</span>
	</nav>
	<div class="open_menu on" style="display:none">
		<ul>
			<li>
				<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $qq; ?>&site=qq&menu=yes" title="联系客服">联系客服</a></li>
			<li>
				<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $qq; ?>&site=qq&menu=yes" title="投诉建议">投诉建议</a></li>
		</ul>
	</div>
</div>
<article class="main">
		<section id="go">
		<center><span style="font-size: 15px; color: red;">↓↓ 查询时填写Key或链接任意一个即可 ↓↓</span></center>
		<br/>
			<div>
				<input type="text" style="text-align:center" id="key" placeholder="请输入您购买的卡密/不填即查询链接"></div>
			<div>
				<input type="text" style="text-align:center" id="url" placeholder="请输入您的推广链接/不填即查询卡密"></div>
			<div class="btn" onClick="submit()">查询/开通/续费</div>
			<div class="btn" onClick="buy_key()">购买Key</div>
		</section>
		<div class="downapk">
			<strong>操作流程:</strong></div>
		<div class="message">
			<strong>1.点击,购买包年/购买包月/进行购买。</strong></div>
		<div class="message">
			<strong>2.付款后,会得到一个卡密,请妥善保管!</strong></div>
		<div class="message">
			<strong>3.输入需要代点的链接,再输入卡密。</strong></div>
		<div class="message">
			<strong>4.点击开通按钮即可,可多续费！</strong></div>
		<div class="message">
			<strong>5.如有问题可联系客服处理！</strong></div>
		<div class="downapk">
			<strong>购买必看:</strong></div>
		<div class="message">
			<strong>付款后自动发送卡密</strong></div>
		<div class="message">
			<strong>此商品为代点推广链接服务，和球球大作战游戏会员没有任何关系</strong></div>
		<div class="message">
			<strong>1.周一到周四,凌晨00:00-01:30完成所有链接代点</strong></div>
		<div class="message">
			<strong>2.请保存好您购买的卡密，方便日后查询/修改链接</strong></div>
		<div class="message">
			<strong>3.如果遇到球球更新可能会中断代点服务</strong></div>
		<div class="message">
			<strong>4.官方规定每日5个，每周20个，每月90个棒棒糖</strong></div>
		<div class="message">
			<strong>5.请务必保证您的链接是正确有效</strong></div>
		<div class="message">
			<strong>6.如果有流程上问题请联系站长</strong></div>
		<div class="downapk">
			<strong></strong>
		</div>
</article>

<!--
<div class="bar mgz">
	<center>
		<span style="font-size: 15px; color: red;">↓↓ 查询时填写Key或链接任意一个即可 ↓↓</span>
		
		<input type="text" class="bd1 xi20 huang2 cen" id="key" placeholder="请输入Key" />
		<input type="text" class="bd1 xi20 huang2 cen" id="url" placeholder="请输入链接" />
		<input type="submit" onclick="submit()" value="提交/查询" />
		<input type="submit" id="Pay" value="购买Key" />
		<br />
		<div style="text-align:left;" id="Help">
			<b style="color: red;">使用说明：</b><br />购买卡密后，将卡密填入第一个输入框内，然后将链接输入第二个输入框内，点击提交，显示成功即可，如需查询，请先使用Key后再查询，查询时只填写Key即可<br />
			<span style="font-family: 微软雅黑; font-size: 20px;"><b style="color: red;">购买须知：</b><br />
				1.一个KEY对应一个链接<br />
				2.遇到球球更新，可能会中断服务<br />
				3.KEY购买渠道一律在网站公布，可直接进入<br />
				4.每天凌晨0:00-4:00完成所有链接<br />
				5.最好保留您购买的KEY(每个链接最后一次使用过的),方便日后查询/查证<br />
				6.当天提交的链接，次日会到账
			</span>
		</div>
	</center>
</div>
-->
<script src="http://cdn.bootcss.com/jquery/3.0.0/jquery.min.js"></script>
<script type="text/javascript" src="style/js/layer.js" language="javascript"></script>
<script type="text/javascript" src="style/js/charge.js" language="javascript"></script>
<script type="text/javascript" src="style/js/main.js" language="javascript"></script>
<script type="text/javascript">
function buy_key() {
	window.open("<?php include_once './info/webinfo_pay_url.php'; ?>");  
}
</script>
<br /><br />
<p style="font-size: 15px; text-align: center;"><b>
	<?php include_once './info/webinfo_footer.php'; ?>
</b></p>
</body>
</html>
<?php
	mysql_close($resource);
?>